<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class AchievementCostDetail extends Model
{
    protected $table='achievements_cost_detail';

    protected $primaryKey = 'id';

    protected $fillable = ['name','year_param','month_param','corpid','id','standard','score','user_id','created_at','tip_id'];


    public function tip() {
        return $this->hasOne('App\Models\Tips','id','tip_id');
    }

 
}
